package com.ztesoft.book.core.sys.sysuser.vo;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * Description:
 * Datetime:    2021/7/23 14:13
 *
 * @author: wsh
 */
@Data
public class SysUserStatusVO {
    @NotBlank(message = "主键非空")
    private String id;

    @NotNull(message = "状态不能为空")
    @Min(value = 0, message = "状态有误")
    @Max(value = 1, message = "状态有误")
    private Integer status;

}
